package com.beiming.libra.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Table;
import lombok.Data;

/**
 * 案件基本信息
 *
 * @author zhangqi
 */
@Data
@Table(name = "arbitration_case")
@ApiModel(value = "案件详情")
public class ArbitrationCase extends BaseObject {

  /**
   * 案件编号
   */
  @ApiModelProperty(value = "案件编号")
  @Column(name = "case_no")
  private String caseNo;

  /**
   * 案件名称
   */
  @ApiModelProperty(value = "案件名称")
  @Column(name = "case_name")
  private String caseName;

  /**
   * 案件类型
   */
  @ApiModelProperty(value = "案件类型")
  @Column(name = "case_type")
  private String caseType;

  /**
   * 纠纷类型
   */
  @ApiModelProperty(value = "纠纷类型")
  @Column(name = "dispute_type")
  private String disputeType;

  /**
   * 案件状态
   */
  @ApiModelProperty(value = "案件状态:"
      + "00, 申请立案\n"
      + "09, 取消申请\n"
      + "02, 不予立案\n"
      + "03, 补正立案\n"
      + "04, 立案成功\n"
      + "11, 已缴费\n"
      + "19, 未缴费撤案\n"
      + "20, 已指定仲裁员\n"
      + "21, 用户举证质证答辩期结束\n"
      + "22, 仲裁员问题单\n"
      + "23, 仲裁员问题单结束\n"
      + "30, 仲裁员结案审核通过\n"
      + "31, 办案秘书结案审核通过\n"
      + "32, 领导结案审核通过\n"
      + "40, 归档申请\n"
      + "41, 归档审核通过\n"
      + "50, 用户追加当事人，变更代理人\n"
      + "60, 用户申请调解\n"
      + "90, 用户申请撤案\n"
      + "91, 仲裁员撤案审核通过\n"
      + "92, 办案秘书撤案审核通过\n"
      + "93, 领导撤案审核通过\n"
      + "94, 财务退款审核通过\n"
      + "95, 领导退款审核通过")
  @Column(name = "case_status")
  private String caseStatus;

  /**
   * 请求标的额
   */
  @ApiModelProperty(value = "请求标的额")
  @Column(name = "target_amount")
  private BigDecimal targetAmount;

  @ApiModelProperty(value = "案件处理费")
  @Column(name = "dispose_amount")
  private BigDecimal disposeAmount;

  @ApiModelProperty(value = "案件受理费")
  @Column(name = "accept_amount")
  private BigDecimal acceptAmount;

  /**
   * 请求事项
   */
  @ApiModelProperty(value = "请求事项")
  @Column(name = "request_item")
  private String requestItem;

  /**
   * 事实和理由
   */
  @ApiModelProperty(value = "事实和理由")
  @Column(name = "fact_and_reason")
  private String factAndReason;

  /**
   * 补正立案理由
   */
  @ApiModelProperty(value = "补正立案理由")
  @Column(name = "correct_reason")
  private String correctReason;

  /**
   * 办案秘书id
   */
  @ApiModelProperty(value = "办案秘书id")
  @Column(name = "secretary_id")
  private String secretaryId;

  /**
   * 仲裁员id
   */
  @ApiModelProperty(value = "仲裁员id")
  @Column(name = "arbitrator_id")
  private String arbitratorId;

  /**
   * 缴费状态
   */
  @ApiModelProperty(value = "用户案件流程状态")
  @Column(name = "user_status")
  private String userStatus;

  @ApiModelProperty(value = "工作员案件流程状态")
  @Column(name = "work_status")
  private String workStatus;

  @ApiModelProperty(value = "签署三书状态")
  @Column(name = "sign_status")
  private String signStatus;
}